package cn.edu.neu.vmmigeval.cloud.policy.impl;


import cn.edu.neu.vmmigeval.cloud.entity.Host;
import cn.edu.neu.vmmigeval.cloud.util.MathUtil;

public class MigratedHostPolicyLocalRegressionRobust extends MigratedHostPolicyLocalRegression{

	public MigratedHostPolicyLocalRegressionRobust(double safetyParameter,double schedulingInterval){
		super(safetyParameter,schedulingInterval);
	}
	
	public MigratedHostPolicyLocalRegressionRobust(){
		
	}
	
	/**
	 * Gets the parameter estimates.
	 * 
	 * @param utilizationHistoryReversed the utilization history reversed
	 * @return the parameter estimates
	 */
	@Override
	protected double[] getParameterEstimates(double[] utilizationHistoryReversed) {
		return MathUtil.getRobustLoessParameterEstimates(utilizationHistoryReversed);
	}

	@Override
	public boolean isHostUnderUtilized(Host host) {
		// TODO Auto-generated method stub
		return false;
	}

}
